package com.lawyer.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.lawyer.model.SysUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 * @author wzq
 * @since 2018-07-16
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 分页查询
     * @param page
     * @param name
     * @return
     */
    List<SysUser> getSysUserList(
            Page<SysUser> page ,
            @Param("name") String name
    );
}